<template>
  <div class="div">
    <el-descriptions class="margin-top" :column="3">
      <el-descriptions-item label="折扣">{{
        userCoupon.discount
      }}</el-descriptions-item>
      <el-descriptions-item label="活动">{{
        userCoupon.active
      }}</el-descriptions-item>
      <el-descriptions-item label="金额">{{
        userCoupon.money
      }}</el-descriptions-item>
      <el-descriptions-item label="数量">{{
        userCoupon.number
      }}</el-descriptions-item>
      <el-descriptions-item label="范围">{{
        userCoupon.spoce
      }}</el-descriptions-item>
    </el-descriptions>
  </div>
</template>

<script>
export default {
  name: "DiscountSmell",
  components: {},
  props: {
    userCoupon: {
      type: Object,
    },
  },
  data() {
    return {};
  },
};
</script>

<style scoped>
.div {
  width: 100%;
  height: 100px;
  background-color: white;
  border-radius: 10px;
  margin-bottom: 10px;
}
.margin-top {
  padding-top: 20px;
  border-radius: 10px;
}
</style>
